QT       += core gui svg network xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = myqTox
TEMPLATE = app

DEFINES += QT_DEPRECATED_WARNINGS

CONFIG += c++11

SOURCES += \
    main.cpp \
    appmanager.cpp \
    persistence/settings.cpp \
    nexus.cpp \
    widget/loginscreen.cpp \
    widget/passwordedit.cpp \
    widget/style.cpp \
    util/display.cpp \
   # util/toxcoreerrorparser.cpp
    audio/iaudiosettings.cpp \
    core/icoresettings.cpp \
    persistence/ifriendsettings.cpp \
    persistence/igroupsettings.cpp \
    persistence/inotificationsettings.cpp \
    persistence/ismileysettings.cpp \
    persistence/paths.cpp \
    video/ivideosettings.cpp \
    persistence/globalsettingsupgrader.cpp \
    widget/tool/imessageboxmanager.cpp \
    widget/tool/messageboxmanager.cpp \
    widget/form/setpassworddialog.cpp \
    core/toxencrypt.cpp \
    core/toxfile.cpp \
#    core/toxfileprogress.cpp \
    core/toxencryptsave.c \
    toxcore/crypto_core.c \
    core/core.cpp \
#    core/corefile.cpp \
#    model/status.cpp \
    core/chatid.cpp \
    persistence/profile.cpp \
#    persistence/history.cpp \
#    net/avatarbroadcaster.cpp \
#    net/bootstrapnodeupdater.cpp \
    persistence/profilelocker.cpp \
   # toxav/toxav.c \
    #chatlog/content/filetransferwidget.cpp \
    #friendlist.cpp \
    #grouplist.cpp \
    ipc.cpp \
#    chatlog/chatline.cpp \
#    chatlog/chatlinecontent.cpp \
#    chatlog/chatlinecontentproxy.cpp \
#    chatlog/chatlinestorage.cpp \
#    chatlog/chatmessage.cpp \
#    chatlog/chatwidget.cpp \
#    chatlog/customtextdocument.cpp \
#    chatlog/documentcache.cpp \
#    chatlog/pixmapcache.cpp \
#    chatlog/textformatter.cpp \
#    chatlog/content/broken.cpp \
#    chatlog/content/filetransferwidget.cpp \
#    chatlog/content/image.cpp \
#    chatlog/content/notificationicon.cpp \
#    chatlog/content/spinner.cpp \
#    chatlog/content/text.cpp \
#    chatlog/content/timestamp.cpp \
    widget/tool/identicon.cpp \
    core/toxpk.cpp \
    persistence/settingsserializer.cpp \
    persistence/personalsettingsupgrader.cpp \
    persistence/serialize.cpp \
    core/groupid.cpp \
    core/icorefriendmessagesender.cpp \
    core/icoregroupmessagesender.cpp \
    core/icoregroupquery.cpp \
    core/icoreidhandler.cpp \
    core/toxid.cpp \
    core/toxfileprogress.cpp \
#    toxcore/tox.c
    core/coreav.cpp \
    core/toxoptions.cpp \
    core/coreext.cpp \
    core/toxstring.cpp \
    model/groupinvite.cpp \
    core/toxcall.cpp \
    core/icoreextpacket.cpp \
    persistence/smileypack.cpp \
    chatlog/customtextdocument.cpp \
    chatlog/documentcache.cpp \
    widget/notificationscrollarea.cpp \
    widget/tool/croppinglabel.cpp \
    model/status.cpp \
    model/friend.cpp \
    model/message.cpp \
    model/group.cpp \
    model/groupinvite.cpp \
    model/groupmessagedispatcher.cpp \
    model/friendmessagedispatcher.cpp \
    widget/circlewidget.cpp \
    widget/contentdialog.cpp \
    widget/contentdialogmanager.cpp \
    widget/contentlayout.cpp \
    widget/widget.cpp \
    widget/tool/adjustingscrollarea.cpp \
    widget/notificationedgewidget.cpp \
    model/chat.cpp \
    friendlist.cpp \
    grouplist.cpp \
    persistence/offlinemsgengine.cpp \
    widget/genericchatitemlayout.cpp \
    widget/genericchatitemwidget.cpp \
    widget/genericchatroomwidget.cpp \
    widget/groupwidget.cpp \
    model/chatroom/chatroom.cpp \
    model/chatroom/friendchatroom.cpp \
    model/chatroom/groupchatroom.cpp \
    model/friendlist/friendlistmanager.cpp \
    model/friendlist/ifriendlistitem.cpp \
    widget/categorywidget.cpp \
    widget/friendlistlayout.cpp \
    widget/friendlistwidget.cpp \
    widget/friendwidget.cpp \
    model/dialogs/idialogs.cpp \
    model/dialogs/idialogsmanager.cpp \
    widget/tool/activatedialog.cpp \
    widget/splitterrestorer.cpp \
    widget/translator.cpp \
    widget/maskablepixmapwidget.cpp \
    widget/form/genericchatform.cpp \
    widget/form/genericchatform.cpp \
    widget/form/groupchatform.cpp \
    widget/form/groupinviteform.cpp \
    widget/form/groupinvitewidget.cpp \
    core/corefile.cpp \
    model/chathistory.cpp \
    model/sessionchatlog.cpp \
    widget/form/addfriendform.cpp \
    model/profile/iprofileinfo.cpp \
    model/profile/profileinfo.cpp \
    widget/form/chatform.cpp \
    widget/form/filesform.cpp \
    widget/form/loadhistorydialog.cpp \
    widget/form/profileform.cpp \
    widget/form/searchsettingsform.cpp \
    widget/form/setpassworddialog.cpp \
    widget/form/settingswidget.cpp \
    widget/form/tabcompleter.cpp \
    widget/about/aboutfriendform.cpp \
    chatlog/chatline.cpp \
    chatlog/chatlinecontent.cpp \
    chatlog/chatlinecontentproxy.cpp \
    chatlog/chatlinestorage.cpp \
    chatlog/chatmessage.cpp \
    chatlog/chatwidget.cpp \
    chatlog/customtextdocument.cpp \
    chatlog/documentcache.cpp \
    chatlog/pixmapcache.cpp \
    chatlog/textformatter.cpp \
    widget/searchform.cpp \
    widget/splitterrestorer.cpp \
    widget/tool/activatedialog.cpp \
    widget/tool/adjustingscrollarea.cpp \
    widget/tool/callconfirmwidget.cpp \
    widget/tool/chattextedit.cpp \
    widget/tool/croppinglabel.cpp \
    widget/tool/flyoutoverlaywidget.cpp \
    widget/tool/identicon.cpp \
    widget/tool/imessageboxmanager.cpp \
    widget/tool/messageboxmanager.cpp \
    widget/tool/movablewidget.cpp \
    widget/tool/profileimporter.cpp \
    widget/tool/recursivesignalblocker.cpp \
    widget/tool/removechatdialog.cpp \
    widget/tool/screengrabberchooserrectitem.cpp \
    widget/tool/screengrabberoverlayitem.cpp \
    widget/tool/screenshotgrabber.cpp \
    widget/tool/toolboxgraphicsitem.cpp \
    widget/form/settings/aboutform.cpp \
    widget/form/settings/advancedform.cpp \
    widget/form/settings/avform.cpp \
    widget/form/settings/generalform.cpp \
    widget/form/settings/genericsettings.cpp \
    widget/form/settings/privacyform.cpp \
    widget/form/settings/userinterfaceform.cpp \
    widget/form/settings/verticalonlyscroller.cpp \
    model/about/iaboutfriend.cpp \
    widget/categorywidget.cpp \
    widget/chatformheader.cpp \
    widget/circlewidget.cpp \
    widget/contentdialog.cpp \
    widget/contentdialogmanager.cpp \
    widget/contentlayout.cpp \
    widget/emoticonswidget.cpp \
    widget/extensionstatus.cpp \
    widget/flowlayout.cpp \
    widget/friendlistlayout.cpp \
    widget/friendlistwidget.cpp \
    widget/friendwidget.cpp \
    widget/genericchatitemlayout.cpp \
    widget/genericchatitemwidget.cpp \
    widget/genericchatroomwidget.cpp \
    widget/groupwidget.cpp \
    widget/imagepreviewwidget.cpp \
    widget/loginscreen.cpp \
    widget/maskablepixmapwidget.cpp \
    widget/notificationedgewidget.cpp \
    widget/notificationscrollarea.cpp \
    widget/passwordedit.cpp \
    widget/qrwidget.cpp \
    widget/searchform.cpp \
    widget/splitterrestorer.cpp \
    widget/style.cpp \
    widget/translator.cpp \
    widget/widget.cpp \
    model/chat.cpp \
    model/chathistory.cpp \
    model/chatlogitem.cpp \
    model/exiftransform.cpp \
    model/friend.cpp \
    model/friendmessagedispatcher.cpp \
    model/group.cpp \
    model/groupinvite.cpp \
    model/groupmessagedispatcher.cpp \
    model/ibootstraplistgenerator.cpp \
    model/message.cpp \
    model/notificationgenerator.cpp \
    model/sessionchatlog.cpp \
    model/status.cpp \
    chatlog/content/broken.cpp \
    chatlog/content/filetransferwidget.cpp \
    chatlog/content/image.cpp \
    chatlog/content/notificationicon.cpp \
    chatlog/content/spinner.cpp \
    chatlog/content/text.cpp \
    chatlog/content/timestamp.cpp \
    persistence/history.cpp \
#    video/cameradevice.cpp \
#    video/camerasource.cpp \
#    video/corevideosource.cpp \
#    video/ivideosettings.cpp \
#    video/netcamview.cpp \
#    video/videoframe.cpp \
#    video/videomode.cpp \
#    video/videosource.cpp \
#    video/videosurface.cpp
    widget/tool/profileimporter.cpp

HEADERS += \
    appmanager.h \
    persistence/settings.h \
    nexus.h \
    widget/loginscreen.h \
    widget/passwordedit.h \
    widget/style.h \
    util/compatiblerecursivemutex.h \
    util/display.h \
    util/interface.h \
    util/strongtype.h \
    #util/toxcoreerrorparser.h
    audio/iaudiosettings.h \
    core/icoresettings.h \
    persistence/ifriendsettings.h \
    persistence/igroupsettings.h \
    persistence/inotificationsettings.h \
    persistence/ismileysettings.h \
    persistence/paths.h \
    video/ivideosettings.h \
    persistence/globalsettingsupgrader.h \
    widget/tool/imessageboxmanager.h \
    widget/tool/messageboxmanager.h \
    widget/form/setpassworddialog.h \
    core/toxencrypt.h \
    core/toxfile.h \
#    core/toxfilepause.h \
#    core/toxfileprogress.h \
    core/toxencryptsave.h \
#    toxcore/ccompat.h \
    toxcore/crypto_core.h \
#    core/sodium.h \
    core/core.h \
#    core/corefile.h \
#    model/status.h \
    core/chatid.h \
    persistence/profile.h \
#    persistence/history.h \
#    net/avatarbroadcaster.h \
#    net/bootstrapnodeupdater.h \
    persistence/profilelocker.h \
    #toxav/toxav.h \
    #chatlog/content/filetransferwidget.h \
#    platform/timer.h \
#    friendlist.h \
#    grouplist.h \
    ipc.h \
#    chatlog/chatline.h \
#    chatlog/chatlinecontent.h \
#    chatlog/chatlinecontentproxy.h \
#    chatlog/chatlinestorage.h \
#    chatlog/chatmessage.h \
#    chatlog/chatwidget.h \
#    chatlog/customtextdocument.h \
#    chatlog/documentcache.h \
#    chatlog/pixmapcache.h \
#    chatlog/textformatter.h \
#    chatlog/content/broken.h \
#    chatlog/content/filetransferwidget.h \
#    chatlog/content/image.h \
#    chatlog/content/notificationicon.h \
#    chatlog/content/spinner.h \
#    chatlog/content/text.h \
#    chatlog/content/timestamp.h \
    widget/tool/identicon.h \
    core/toxpk.h \
    persistence/settingsserializer.h \
    persistence/personalsettingsupgrader.h \
    persistence/serialize.h \
    core/groupid.h \
    core/icorefriendmessagesender.h \
    core/icoregroupmessagesender.h \
    core/icoregroupquery.h \
    core/icoreidhandler.h \
    core/receiptnum.h \
    core/toxid.h \
    core/toxfilepause.h \
    core/toxfileprogress.h \
#    toxcore/tox.h
    core/coreav.h \
    core/toxoptions.h \
    core/coreext.h \
    core/toxstring.h \
    model/groupinvite.h \
    core/toxcall.h \
    core/icoreextpacket.h \
    persistence/smileypack.h \
    chatlog/customtextdocument.h \
    chatlog/documentcache.h \
    widget/notificationscrollarea.h \
    widget/tool/croppinglabel.h \
    model/status.h \
    model/friend.h \
    model/message.h \
    core/extension.h \
    model/group.h \
    model/groupinvite.h \
    model/groupmessagedispatcher.h \
    model/imessagedispatcher.h \
    model/friendmessagedispatcher.h \
    widget/circlewidget.h \
    widget/contentdialog.h \
    widget/contentdialogmanager.h \
    widget/contentlayout.h \
    widget/widget.h \
    widget/tool/adjustingscrollarea.h \
    widget/notificationedgewidget.h \
    model/chat.h \
    friendlist.h \
    grouplist.h \
    persistence/offlinemsgengine.h \
    widget/genericchatitemlayout.h \
    widget/genericchatitemwidget.h \
    widget/genericchatroomwidget.h \
    widget/groupwidget.h \
    model/chatroom/chatroom.h \
    model/chatroom/friendchatroom.h \
    model/chatroom/groupchatroom.h \
    model/friendlist/friendlistmanager.h \
    model/friendlist/ifriendlistitem.h \
    widget/categorywidget.h \
    widget/friendlistlayout.h \
    widget/friendlistwidget.h \
    widget/friendwidget.h \
    model/dialogs/idialogs.h \
    model/dialogs/idialogsmanager.h \
    widget/tool/activatedialog.h \
    widget/splitterrestorer.h \
    widget/translator.h \
    widget/maskablepixmapwidget.h \
    widget/form/genericchatform.h \
    widget/form/genericchatform.h \
    widget/form/groupchatform.h \
    widget/form/groupinviteform.h \
    widget/form/groupinvitewidget.h \
    core/corefile.h \
    model/chathistory.h \
    model/ichatlog.h \
    model/sessionchatlog.h \
    model/brokenmessagereason.h \
    widget/form/addfriendform.h \
    model/profile/iprofileinfo.h \
    model/profile/profileinfo.h \
    widget/form/chatform.h \
    widget/form/filesform.h \
    widget/form/loadhistorydialog.h \
    widget/form/profileform.h \
    widget/form/searchsettingsform.h \
    widget/form/setpassworddialog.h \
    widget/form/settingswidget.h \
    widget/form/tabcompleter.h \
    widget/about/aboutfriendform.h \
    chatlog/chatline.h \
    chatlog/chatlinecontent.h \
    chatlog/chatlinecontentproxy.h \
    chatlog/chatlinestorage.h \
    chatlog/chatmessage.h \
    chatlog/chatwidget.h \
    chatlog/customtextdocument.h \
    chatlog/documentcache.h \
    chatlog/pixmapcache.h \
    chatlog/textformatter.h \
    widget/searchform.h \
    widget/searchtypes.h \
    widget/splitterrestorer.h \
    widget/tool/activatedialog.h \
    widget/tool/adjustingscrollarea.h \
    widget/tool/callconfirmwidget.h \
    widget/tool/chattextedit.h \
    widget/tool/croppinglabel.h \
    widget/tool/flyoutoverlaywidget.h \
    widget/tool/identicon.h \
    widget/tool/imessageboxmanager.h \
    widget/tool/messageboxmanager.h \
    widget/tool/movablewidget.h \
    widget/tool/profileimporter.h \
    widget/tool/recursivesignalblocker.h \
    widget/tool/removechatdialog.h \
    widget/tool/screengrabberchooserrectitem.h \
    widget/tool/screengrabberoverlayitem.h \
    widget/tool/screenshotgrabber.h \
    widget/tool/toolboxgraphicsitem.h \
    widget/form/settings/aboutform.h \
    widget/form/settings/advancedform.h \
    widget/form/settings/avform.h \
    widget/form/settings/generalform.h \
    widget/form/settings/genericsettings.h \
    widget/form/settings/privacyform.h \
    widget/form/settings/userinterfaceform.h \
    widget/form/settings/verticalonlyscroller.h \
    model/about/iaboutfriend.h \
    widget/categorywidget.h \
    widget/chatformheader.h \
    widget/circlewidget.h \
    widget/contentdialog.h \
    widget/contentdialogmanager.h \
    widget/contentlayout.h \
    widget/emoticonswidget.h \
    widget/extensionstatus.h \
    widget/flowlayout.h \
    widget/friendlistlayout.h \
    widget/friendlistwidget.h \
    widget/friendwidget.h \
    widget/genericchatitemlayout.h \
    widget/genericchatitemwidget.h \
    widget/genericchatroomwidget.h \
    widget/groupwidget.h \
    widget/imagepreviewwidget.h \
    widget/loginscreen.h \
    widget/maskablepixmapwidget.h \
    widget/notificationedgewidget.h \
    widget/notificationscrollarea.h \
    widget/passwordedit.h \
    widget/qrwidget.h \
    widget/searchform.h \
    widget/searchtypes.h \
    widget/splitterrestorer.h \
    widget/style.h \
    widget/translator.h \
    widget/widget.h \
    model/brokenmessagereason.h \
    model/chat.h \
    model/chathistory.h \
    model/chatlogitem.h \
    model/exiftransform.h \
    model/friend.h \
    model/friendmessagedispatcher.h \
    model/group.h \
    model/groupinvite.h \
    model/groupmessagedispatcher.h \
    model/ibootstraplistgenerator.h \
    model/ichatlog.h \
    model/imessagedispatcher.h \
    model/message.h \
    model/notificationdata.h \
    model/notificationgenerator.h \
    model/sessionchatlog.h \
    model/status.h \
    model/systemmessage.h \
    model/toxclientstandards.h \
    chatlog/content/broken.h \
    chatlog/content/filetransferwidget.h \
    chatlog/content/image.h \
    chatlog/content/notificationicon.h \
    chatlog/content/spinner.h \
    chatlog/content/text.h \
    chatlog/content/timestamp.h \
    persistence/history.h \
#    video/cameradevice.h \
#    video/camerasource.h \
#    video/corevideosource.h \
#    video/ivideosettings.h \
#    video/netcamview.h \
#    video/videoframe.h \
#    video/videomode.h \
#    video/videosource.h \
#    video/videosurface.h
    widget/tool/profileimporter.h

FORMS += \
    widget/loginscreen.ui \
    widget/form/setpassworddialog.ui \
    widget/mainwindow.ui \
#    chatlog/content/filetransferwidget.ui \
#    chatlog/content/filetransferwidget.ui
    widget/form/loadhistorydialog.ui \
    widget/form/profileform.ui \
    widget/form/searchsettingsform.ui \
    widget/form/setpassworddialog.ui \
    widget/form/removechatdialog.ui \
    widget/about/aboutfriendform.ui \
    widget/form/settings/aboutsettings.ui \
    widget/form/settings/advancedsettings.ui \
    widget/form/settings/avform.ui \
    widget/form/settings/generalsettings.ui \
    widget/form/settings/privacysettings.ui \
    widget/form/settings/userinterfacesettings.ui \
    widget/loginscreen.ui \
    widget/mainwindow.ui \
    chatlog/content/filetransferwidget.ui

LIBS += $$_PRO_FILE_PWD_/libs/libsodium.lib

RESOURCES += \
    res.qrc
